int lengthOfLastWord(char* s) {
	int s_size = strlen(s);
	int a = s_size - 1;
	while (a >= 0 && s[a] == ' ')
	{
		a--;
	}
	int b = a;
	while (b >= 0 && s[b] != ' ')
	{
		b--;
	}
	return a - b;
}